cyrus-sasl: fix build with GCC 15.1
authorW. Michael Petullo <[email protected]>
Mon, 28 Jul 2025 01:01:04 +0000 (20:01 -0500)
committerJosef Schlehofer <[email protected]>
Tue, 29 Jul 2025 07:04:52 +0000 (09:04 +0200)
commit4d9ca34f6858c97d6e82df5b9e9ec32d3072f66f
tree68ff7062f2ebda5f2d885b87f94bb7afdaf4ba47
parent93d3840f1a9f34f3c215453f0808a2775bc354f7
cyrus-sasl: fix build with GCC 15.1

Apply the patch Fedora uses, named cyrus-sasl-2.1.28-gcc15.patch there,
to fix building with GCC 15.1. As with other recent versions, GCC 15.1
transforms some warnings into errors, and this patch removes those
warnings, now errors. Upstream accepted a similar patch by the same
author at:

https://github.com/cyrusimap/cyrus-sasl/pull/869

The commit described here does not use the upstream patch because it
assumes the removal of CRAM-MD5 (lib/md5.c), but this has not happened
as of the packaged version, namely 2.1.28. A future release will clean
all of this up and remove the need for the patch this commit adds.

Signed-off-by: W. Michael Petullo <[email protected]>
libs/cyrus-sasl/Makefile
libs/cyrus-sasl/patches/020-gcc15.patch [new file with mode: 0644]